exports.default = {
  mode: "development",
  devtool: "source-map",

  module: {
    rules: [
      {
        test: /\.css$/,
        use: ["./loaders/style-loader.js"],
      },
      {
        test: /\.(png|jpg|svg)$/,
        use: [
          {
            loader: "./loaders/img-loader.js",
            options: {
              limit: 1000,
              name: "[hash:5].[ext]",
            },
          },
        ],
      },
    ],
  },
};
